package vip.buddha.handler;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class CustomerBlockHandler {
    public static String down_1(String type, String name, BlockException be) {
        System.out.println(be.getMessage());
        return "Sentinel 流控降级热点时调用的方法----111111---"+type+" "+name;
    }

    public static String down_2(String type, String name, BlockException be) {
        System.out.println(be.getMessage());
        return "Sentinel 流控降级热点时调用的方法----222222---" + type + " " + name;
    }
}
